<table cellpadding="9" cellspacing="0">
<tr valign="top">
    <td align="right">Google Maps API key:</td>
    <td>
    <input name="block_twitter_users_map_google_api_key" type="text" size="50" value="<?php 
    if(isset($this->config->block_twitter_users_map_google_api_key)) {
        p($this->config->block_twitter_users_map_google_api_key);
    } else {
        p();
    } ?>" />
    </td>
</tr>

<tr valign="top">
    <td align="right">Path to map block (e.g. /blocks/twitter_users_map/):</td>
    <td>
    <input name="block_twitter_users_map_path" type="text" size="50" value="<?php 
    if(isset($this->config->block_twitter_users_map_path)) {
        p($this->config->block_twitter_users_map_path);
    } else {
        p("/blocks/twitter_users_map/");
    } ?>" />
    </td>
</tr>

<tr valign="top">
    <td align="right">Show users with no specified location:</td>
    <td>
	<?php if(isset($this->config->block_twitter_users_map_show_offline) && $this->config->block_twitter_users_map_show_offline == 1){ ?>
		<input type="radio" name="block_twitter_users_map_show_offline" value="1" checked="true">Yes
		<input type="radio" name="block_twitter_users_map_show_offline" value="0">No
	<?php } else { ?>
		<input type="radio" name="block_twitter_users_map_show_offline" value="1">Yes
		<input type="radio" name="block_twitter_users_map_show_offline" value="0" checked="true">No
	<?php } ?>
    </td>
    <td align="left">
    	N.B. these users will appear as grey markers, in the middle of the Altlantic Ocean
    </td>
</tr>
<tr>
    <td colspan="3" align="center">
    <input type="submit" value="<?php print_string('savechanges') ?>" /></td>
</tr>
</table>
<?php use_html_editor(); ?>